#!/usr/bin/env python
# encoding=utf-8

from xtls.codehelper import get_ip

if get_ip().startswith('192.168.'):
    DEBUG = True
    MONGO_HOST = '127.0.0.1'
    MONGO_PORT = 27017
    ES_URL = 'http://121.199.8.121:9200'
else:
    DEBUG = False
    MONGO_HOST = '10.132.23.104'
    MONGO_PORT = 27017
    ES_URL = 'http://10.132.23.104:9200'
